package com.briup.estore.bean;

import java.math.BigInteger;
import java.util.List;

import org.apache.ibatis.type.Alias;

import lombok.Data;

@Alias("Category")
@Data
public class Category {
//	 ID                                        NOT NULL NUMBER(12)
//	 NAME                                      NOT NULL VARCHAR2(255)
//	 DESCRIPTION                                        VARCHAR2(255)
//	 CATEGORY_ID                                        NUMBER(12)
	private BigInteger id;
	private String name;
	private String description;
	private BigInteger category_id;

	private Category category;
	private List<Book> books;

	private List<Category> categories;
}
